﻿using AliCharacter_recognition.Utils.UserUtils;
using AliCharacter_recognition.Utils.UserUtils.AliUser;
using AliCharacter_recognition.Utils.UserUtils.MediaUtils;
using CatUtils.Utils.Currency.IoUtils;
using CatUtils.Utils.Helper;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Imaging;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace AliCharacter_recognition
{
    public partial class MainFrom : Form
    {
        public MainFrom()
        {
            InitializeComponent();
//new ConfigFrom().Show();保存OSS相关配置的窗口  待完善
        }

        private void button1_Click(object sender, EventArgs e)
        {
            PictureCompression.ComPressionImg(FileHelper.SelectFile(),".\\mode.jpg", ImageFormat.Jpeg);
            //UserAliOssHelper.UpLoadFile(FileHelper.SelectFile());
            FloderHelper.OpenFloder(".\\");
        }

        private void button2_Click(object sender, EventArgs e)
        {
             FloderHelper.OpenFloder(".\\");
        }
    }
}
